﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Utils;

/// <summary>
/// layui treetable base接口
/// </summary>
public interface ILayuiTreeTable<TEntity> : ILayuiTreeTableBase
{
    /// <summary>
    /// 是否有父级
    /// </summary>
    bool IsParent { get; set; }

    List<TEntity> children { get; set; }
}
/// <summary>
/// layui treetable base接口
/// </summary>
public interface ILayuiTreeTableBase
{
    /// <summary>
    /// 关键词
    /// </summary>
    string Key { get; set; }

    /// <summary>
    /// 父Key
    /// </summary>
    string PKey { get; set; }
    /// <summary>
    /// 排序
    /// </summary>
    int Sort { get; set; }


}